As distributed, YAZE is configured to include BIOS emulation. That enables such features as changing virtual disks on the fly and virtual disks that are mapped to files at run time, instead of using files that contain disk images.
Although BIOS emulation offers interesting features, some people prefer using simulated hardware, for various reasons. That hardware is accessed using I/O ports, like Udo Munk's z80pack does. This page explains how to set up a CP/M 2.2 compatible system using YAZE configured without BIOS emulation.
Further get, compile and install cpmtools. You will need it to transfer files between UNIX and CP/M file systems and to generate your boot disk image.
diskboot.rom
. This disk boot
loader is independent of the used operating system.
bootload.sys
.
z80ccp.sys
. Same for
BDOS: You could use the CP/M 2.2 BDOS, but P2DOS offers additional
features, so I suggest you use that. Download its assembled binary
p2dos.sys
.
bios.sys
and you are almost done.
*.sys
files
using DDT
and then write them to the system tracks with
SYSGEN
. You can also use mkfs.cpm
to do
so, after all your floppy is simulated by an image file of its contents:
mkfs.cpm -b bootload.sys -b z80ccp.sys -b p2dos.sys -b bios.sys p2dos
Now you have a floppy image called p2dos, that can be booted. But wait,
you need to be able to halt yaze somehow. So download one more file:
halt.com
.
Copy it to your image:
cpmcp p2dos halt.com 0:
It may be a good idea to copy all CP/M 2.2 transient commands to the same disk, but that is not neccessary to check that all works. Now you are done.
mount a p2dos mount b scratch mount c hdc mount d hdd attach rdr /dev/null attach lst lst attach pun /dev/nullAdapt it for your system. Then generate blank disk images using mkfs.cpm. Use the flag
-f 4mb-hd
for drive C and D. That's it, you
are ready to boot:
/usr/cpm/bin/yaze -l 0 -b diskboot.rom -s /usr/cpm/etc/p2dos
Yet Another Z80 Emulator version 1.10, Copyright 1995,1998 Frank D. Cringle. yaze comes with ABSOLUTELY NO WARRANTY; for details see the file "COPYING" in the distribution directory. A0>If you are done, start the command
halt
and yaze will
exit. To simplify live, I keep my disk images in $HOME/cpm and use the
following shell script:
#!/bin/sh if [ ! -d $HOME/cpm ] then echo Creating $HOME/cpm ... mkdir $HOME/cpm cp /usr/cpm/disks/p2dos $HOME/cpm/p2dos cp /usr/cpm/disks/scratch $HOME/cpm/scratch cp /usr/cpm/disks/hd $HOME/cpm/hd fi cd $HOME/cpm if [ x$1 = x ] then RC=/usr/cpm/etc/p2dos else RC=$HOME/cpm/$1 fi exec /usr/cpm/bin/yaze -l 0 -b /usr/cpm/rom/diskboot.rom -s $RCYou will probably have to adapt it to your needs.
kit.tar.gz
,
which contains zsm, zlink, the sources and submit files for
everything. You probably have to modify the submit files to reflect
your configuration, e.g. drive names. If you change the BIOS length,
then do not forget to change the CCP and BDOS origins, as well as the
boot sector. I use a free SUBMIT clone, because once I had some problems
with CP/M 2.2 SUBMIT. Unfortunately, I forgot what the problem was.
If you get trouble, then copy sub.com to submit.com. Be warned that I
hacked most files. If you are interested in the originals, then check
your nearest oakland ftp mirror.
Have fun!